// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'

import {
	Checkbox,
	Select,
	Option,
  	OptionGroup,
  	DatePicker,
  	Tooltip
} from 'element-ui'

import 'element-ui/lib/theme-chalk/index.css';
import '@/assets/styles/index.less'

import App from './App'


/* 或写为
 * Vue.component(Button.name, Button);
 * Vue.component(Select.name, Select);
 */

Vue.use(Checkbox);
Vue.use(Select);
Vue.use(Option);
Vue.use(OptionGroup);
Vue.use(DatePicker);
Vue.use(Tooltip);

import * as echarts from 'echarts';

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts

/* eslint-disable no-new */
new Vue({
  el: '#app',
  components: { App },
  template: '<App/>'
})
